package ace.cmp.spring.graphql.test.test.core.repository;

import ace.cmp.spring.graphql.test.test.core.model.Author;
import java.util.List;

/**
 * @author caspar
 * @date 2023/8/22 17:04
 */
public interface AuthorRepository {
  List<Author> getAll();

  Author getById(Long id);

  List<Author> getByIdIn(List<Long> ids);

  Author modify(Long id, String title);
}
